package com.itcast.polymorphic.Demo02;

/*
橘子榨汁
*/
public class Orange extends Fruit{
    //重写父类方法
    @Override
    public void getJuice() {
        System.out.println("得到橘子汁！");
    }
}
